<?php

namespace App\Http\Controllers\Admins;

use App\Http\Controllers\AdminController;
use Illuminate\Http\Request;

class Order extends AdminController
{
    public function list(Request $request)
    {
        $elem = \App\Models\Order::latest();

        $data = $elem->paginate($request->input('limit',10));

        return $this->ReturnPage($data);
    }
}
